//
// Created by 郝羽 on 2018/6/20.
//

#ifndef RTC_XSWITCH2_METRIC_CLIENT_H
#define RTC_XSWITCH2_METRIC_CLIENT_H

#include "metric.hpp"

struct MetricClient;

MetricClient* metric_client_open(const char* address);

void metric_client_close(MetricClient* c);

void metric_client_send_metric(MetricClient* c, Metric &metric);

#endif //RTC_XSWITCH2_METRIC_CLIENT_H
